<?php
namespace app\tactics\model;

use think\Model;

/**
 * 策略属性模型
 * @package app\tactics\model
 */
class Membergroup extends Model
{
    // 设置当前模型对应的完整数据表名称
    protected $table = 'xb_member_group';

    // 自动写入时间戳
    protected $autoWriteTimestamp = true;
    protected $createTime = 'createtime';
    protected $updateTime = 'updatetime';

    public function listItem()
    {
        return $this->hasMany('grouplist','groupid');
    }
}
